package service

import (
	"github.com/gin-gonic/gin"
)

func InitRouter(r *gin.Engine, logic *Logic) {
	r.GET("/ping", logic.Ping)
	r.GET("/ws", logic.Ws)
	r.GET("/getNamespaces", logic.GetNamespaces)
	r.POST("/addThings", logic.AddThings)
}
